package com.sjh.lib_app.adapter

import android.view.View
import android.widget.ImageView
import android.widget.TextView

/**
 * 热门搜索--接口协议
 * @author ysj
 * @date 2020/9/12 15:24
 */
interface HotSearchInterface<T> {

    fun getData():ArrayList<T>

    fun onBind(rootView:View,icon: ImageView,textView: TextView,data:T,p:Int)

    fun addAllData(data:List<T>)

    fun clearAddAllData(data:List<T>)


}